function [ bestsc, minsc, maxsc ] = estimsc_dist(P)
%ESTIMSC_DIST  odhad spread constant pomoci vzdalenosti

[minsc,maxsc] = minmaxdistances(P);
bestsc = (minsc + maxsc) / 2;
end

